//
//  KKNetworkRequest.h
//  Questionnaire
//
//  Created by leo on 16/1/24.
//  Copyright © 2016年 leo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface KKNetworkRequest : NSObject

@property (nonatomic, strong) NSString *requestHost;                /**<请求主机*/
@property (nonatomic, strong) NSString *requestInterfaceName;       /**<请求接口名*/

@property (nonatomic, strong) NSString *requestURL;                   /**<请求地址*/
@property (nonatomic, strong) NSDictionary *requestParmeters;         /**<请求参数*/
@property (nonatomic, strong) NSString *responseClassName;            /**<返回类型对象*/

@property (nonatomic, readonly) NSData *postData;
@property (nonatomic) BOOL debug;
@property (nonatomic) BOOL showAlert;


- (instancetype)initWithHost:(NSString*)host;

- (instancetype)initWithHost:(NSString *)host interfaceName:(NSString*)interfaceName;

- (instancetype)initWithHost:(NSString *)host interfaceName:(NSString*)interfaceName parmeters:(NSDictionary*)parmeters;

@end
